type compress/flate.token
20 uses
compress/flate (current package)
deflate.go#L111: tokens []token
deflate.go#L163: func (d *compressor) writeBlock(tokens []token, index int) error {
deflate.go#L371: d.tokens = make([]token, 0, maxFlateBlockTokens+1)
deflate.go#L586: d.tokens = make([]token, maxStoreBlockSize)
deflatefast.go#L69: func (e *deflateFast) encode(dst []token, src []byte) []token {
deflatefast.go#L201: func emitLiteral(dst []token, lit []byte) []token {
huffman_bit_writer.go#L431: func (w *huffmanBitWriter) writeBlock(tokens []token, eof bool, input []byte) {
huffman_bit_writer.go#L500: func (w *huffmanBitWriter) writeBlockDynamic(tokens []token, eof bool, input []byte) {
huffman_bit_writer.go#L532: func (w *huffmanBitWriter) indexTokens(tokens []token) (numLiterals, numOffsets int) {
huffman_bit_writer.go#L574: func (w *huffmanBitWriter) writeTokens(tokens []token, leCodes, oeCodes []hcode) {
token.go#L68: type token uint32
token.go#L71: func literalToken(literal uint32) token { return token(literalType + literal) }
token.go#L74: func matchToken(xlength uint32, xoffset uint32) token {
token.go#L75: return token(matchType + xlength<<lengthShift + xoffset)
token.go#L79: func (t token) literal() uint32 { return uint32(t - literalType) }
token.go#L82: func (t token) offset() uint32 { return uint32(t) & offsetMask }
token.go#L84: func (t token) length() uint32 { return uint32((t - matchType) >> lengthShift) }
|
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |